
package com.nanyang.tms.api.dto.request.receipt;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.nanyang.common.core.domain.ApiRequest;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * <p>Description:(收货单)</p>
 * 
 * @author DingGuoTai
 * @date 2020年12月23日 下午5:13:25
 * @Copyright Copyright (c) 2020 www.rongetong.cn Inc. All rights reserved.
 */
@Data
public class ReceiptBillUpdateStateRequest extends ApiRequest {
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;

	@JsonIgnore
	private String pin;

	/**
	 * 收货单编码
	 */
	@NotEmpty(message = "收货单编码不能为空")
	@Length(max = 32, message = "receiptCode长度需小于32个字符")
	private String receiptCode;


	@Override
	public void requestCheck() {

	}

}
